package com.linkcard.list.persistence;

import java.util.List;

import com.linkcard.commen.tools.Page;
import com.linkcard.list.model.Business;

public interface BusinessDao {

	//添加商家
	boolean addBusiness(Business business);

	//获得商家列表
	List businessList(Page pageObj, String searchStr);

	//查找商家
	Business findBusiness(Integer id);

	//删除商家　
	boolean deleteBusiness(String ids);

	//修改商家
	boolean modifyBusiness(Business business);

	//推荐商家　
	List businessListRecommend(Page pageObj,int recommend);

	//获得分店商家
	List branchBusinessList(String pname);
}
